package com.example.springboot_admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.springboot_admin.dao.IOrdersDao;
import com.example.springboot_admin.pojo.Orders;
import com.example.springboot_admin.service.IOrdersService;
import com.example.springboot_admin.vo.OrderDetail;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author svblack
 * @since 2024-09-14
 */
@Service
public class OrdersServiceImpl extends ServiceImpl<IOrdersDao, Orders> implements IOrdersService {
    @Autowired
    private IOrdersDao ordersDao;
    @Override
    public OrderDetail getOrderDetail(Integer order_id) {
        return ordersDao.getOrderDetail(order_id);
    }
}
